<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Error</title>
<link href="/adminpoc/css/cms/bp.css" rel="stylesheet" type="text/css">
<script language=JavaScript>
	strText = window.dialogArguments;
	argArray = new Array(strText.split('|').length);
	argArray = strText.split('|');
	msgText = argArray[0];
	errorMsg = argArray[1];

    function goConfirm() {
    	window.returnValue = false;
        window.close();
    }

    function cancel() {
    	window.returnValue = false;
        window.close();
    }

    document.onkeypress=press;
    function press() {
        if ( event.keyCode == "13" ) {
            cancel();
        }
    }

    var btnFlag = true;

    function showDetail() {
        if ( btnFlag ) {
            btnFlag = false;
            document.all["show"].style.display = "none";
            document.all["hide"].style.display = "";
            document.all["errorMsg"].style.display = "";
            window.dialogHeight="306px";

        } else {
            btnFlag = true;
            document.all["show"].style.display = "";
            document.all["hide"].style.display = "none";
            document.all["errorMsg"].style.display = "none";
            window.dialogHeight="166px";
        }
    }
</script>
</head>
<body>
<table width="320" border="0" cellpadding="7" cellspacing="0" bgcolor="#f5f5f5" align="center">
	<tr>
		<td>
			<table width="310" height="27" border="0" cellpadding="0" cellspacing="1" bgcolor="#f5f5f5" align="center">
				<tr>
					<td align="center" >
						<table width="300" height="125" border="0" cellpadding="0" cellspacing="4">
							<tr>
								<td height="10" align="right" valign="top" colspan=2><img src="/adminpoc/images/error/alert_close.gif" width="35" height="9" onClick="cancel()" style="cursor:hand"></td>
							</tr>
							<tr>
								<td align="center" colspan=2>
									<table cellspacing="0" cellpadding="0">
										<tr>
											<td width="36" align="left" valign="top"><img src="/adminpoc/images/error/mark_x.gif" width="26" height="26"></td>
											<td align="left" valign="top" class="t05">
												<span style="font: normal 12px 'dotum',sans-serif;"><SCRIPT>document.write(msgText);</SCRIPT></span>
											</td>
										</tr>
									</table>
								</td>
							</tr>
							<tr height="30">
								<td align="right" valign="top" nowrap>
									<img src="/adminpoc/images/error/alert_b_confirm.gif" width="67" height="20" hspace="3" onClick="goConfirm()" style="cursor:hand">
								</td>
								<td align="left" valign="top" nowrap>
									<DIV id="show" style="display:;">
										<img src="/adminpoc/images/error/alert_b_detail.gif" width="67" height="20" onClick="showDetail()" style="cursor:hand">
									</DIV>
									<DIV id="hide" style="display:none;">
										<img src="/adminpoc/images/error/alert_b_brief.gif" width="67" height="20"  onClick="showDetail()" style="cursor:hand">
									</DIV>
								</td>
							</tr>
                		</table>
						<DIV id="errorMsg" style="display:none;">
						<SCRIPT>
							document.write('<TEXTAREA name=msg rows=7 cols=40 class=textarea>');
							document.write(errorMsg + '</TEXTAREA><br><br>');
						</SCRIPT>
						</DIV>
        			 </td>
        		</tr>
        	</table>
		</td>
	</tr>
</table>
</body>
</html>